package edu.ynu.e_platform.controllers;

import edu.ynu.e_platform.common.controller.LogicController;
import edu.ynu.e_platform.dao.OrderDao;
import edu.ynu.e_platform.entities.Order;
import edu.ynu.e_platform.service.OrderService;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author manwen Yang
 */
@Slf4j
@Tag(name = "订单 实体的控制器")
@RestController
@RequestMapping("/order")
public class OrderController
        extends LogicController<OrderService, OrderDao, Order, Long> {
    public OrderController(@Autowired OrderService ls) {
        super(ls);
    }
}
